package com.yonyou.cyxdms.basedata.service.dto.vehiclemodel;

import com.yonyou.cyx.framework.bean.dto.base.BaseDTO;

import javax.validation.constraints.NotBlank;

/**
 * 品牌dto
 *
 * @author chenzb
 * @date 2019年10月12日
 */

public class GeneralBrandDTO extends BaseDTO {

    private Long brandId;
    @NotBlank
    private String appId;
    @NotBlank(message = "经销商代码不能为空")
    private String ownerCode;
    private String sourceId;
    @NotBlank(message = "品牌代码不能为空")
    private String brandCode;
    @NotBlank(message = "品牌名称不能为空")
    private String brandName;
    private Integer dataSources;
    private Integer isValid;
    private Integer isVehicleSalesBrand;
    private Integer isDeleted;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getBrandCode() {
        return brandCode;
    }

    public void setBrandCode(String brandCode) {
        this.brandCode = brandCode;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public Integer getDataSources() {
        return dataSources;
    }

    public void setDataSources(Integer dataSources) {
        this.dataSources = dataSources;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Integer getIsVehicleSalesBrand() {
        return isVehicleSalesBrand;
    }

    public void setIsVehicleSalesBrand(Integer isVehicleSalesBrand) {
        this.isVehicleSalesBrand = isVehicleSalesBrand;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "GeneralBrandDTO{" +
                "appId='" + appId + '\'' +
                ", ownerCode='" + ownerCode + '\'' +
                ", brandId=" + brandId +
                ", sourceId='" + sourceId + '\'' +
                ", brandCode='" + brandCode + '\'' +
                ", brandName='" + brandName + '\'' +
                ", dataSources=" + dataSources +
                ", isValid=" + isValid +
                ", isVehicleSalesBrand=" + isVehicleSalesBrand +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
